//
//  main.m
//  Sat10.24_OC1,2
//
//  Created by dllo on 15/10/24.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Student.h"


int main(int argc, const char * argv[]) {

    Student *stu =[[Student alloc] init];
    
        [stu setName:@"王小二"];
    NSString *qqq = [stu name];
    NSLog(@"%@", qqq);
    
    [stu setSex:@"女"];
    NSString *www = [stu sex];
    NSLog(@"%@", www);

    [stu setAge:26];
    NSInteger zzz = [stu age];
    NSLog(@"%ld", zzz);
    
    [stu setScore:99.9];
    CGFloat rrr = [stu score];
    NSLog(@"%.2f", rrr);
    
    Student *s = [[Student alloc] initWithName:@"李四" sex:@"男" age:22 score:66.6];
    [s info];
    
    
    
    
    
    
    
    
    
    return 0;
}
